package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购订单执行记录对象 purchase_order_execution
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public class PurchaseOrderExecution extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 执行ID */
    private Long executionId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 执行日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "执行日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executionDate;

    /** 执行数量 */
    @Excel(name = "执行数量")
    private Long executionQuantity;

    /** 执行金额 */
    @Excel(name = "执行金额")
    private BigDecimal executionAmount;

    /** 执行人 */
    @Excel(name = "执行人")
    private String executionBy;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executionTime;

    public void setExecutionId(Long executionId) 
    {
        this.executionId = executionId;
    }

    public Long getExecutionId() 
    {
        return executionId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setExecutionDate(Date executionDate) 
    {
        this.executionDate = executionDate;
    }

    public Date getExecutionDate() 
    {
        return executionDate;
    }

    public void setExecutionQuantity(Long executionQuantity) 
    {
        this.executionQuantity = executionQuantity;
    }

    public Long getExecutionQuantity() 
    {
        return executionQuantity;
    }

    public void setExecutionAmount(BigDecimal executionAmount) 
    {
        this.executionAmount = executionAmount;
    }

    public BigDecimal getExecutionAmount() 
    {
        return executionAmount;
    }

    public void setExecutionBy(String executionBy) 
    {
        this.executionBy = executionBy;
    }

    public String getExecutionBy() 
    {
        return executionBy;
    }

    public void setExecutionTime(Date executionTime) 
    {
        this.executionTime = executionTime;
    }

    public Date getExecutionTime() 
    {
        return executionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("executionId", getExecutionId())
            .append("orderId", getOrderId())
            .append("executionDate", getExecutionDate())
            .append("executionQuantity", getExecutionQuantity())
            .append("executionAmount", getExecutionAmount())
            .append("executionBy", getExecutionBy())
            .append("executionTime", getExecutionTime())
            .append("remark", getRemark())
            .toString();
    }
}
